net/http.http2pipe.CloseWithError (method)
8 uses
net/http (current package)
h2_bundle.go#L3693: func (p *http2pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
h2_bundle.go#L5272: p.CloseWithError(err)
h2_bundle.go#L5432: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
h2_bundle.go#L5496: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
h2_bundle.go#L5500: st.body.CloseWithError(io.EOF)
h2_bundle.go#L8143: cs.bufPipe.CloseWithError(err) // no-op if already closed
h2_bundle.go#L8148: cs.bufPipe.CloseWithError(http2errRequestCanceled)
h2_bundle.go#L9484: cs.bufPipe.CloseWithError(serr)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)